// 导入请求对象
import request from '../utils/request'

// 抽取api - 获取搜索建议
/* eslint-disable */
const searchResult = ({ page, per_page, q }) => {
  return request({
    url: '/v1_0/search',
    method: 'get',
    params: {
      page,
      per_page,
      q // q:q
    }
  })
}

// 暴露
export { searchResult }
